package com.xuxingcan.findmyvoice.Activity;

import android.content.Intent;
import android.os.Bundle;

import com.avos.avoscloud.AVUser;
import com.xuxingcan.findmyvoice.R;

public class SplashActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
//        AVUser currentUser = AVUser.getCurrentUser();
//        if (currentUser != null) {
            startActivity(new Intent(this, MainActivity.class));
//        } else {
//            startActivity(new Intent(this, LoginActivity.class));
//        }
        finish();
    }
}
